package com.amigo.online.provider.common.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.amigo.online.common.core.mybatis.MyMapper;
import com.amigo.online.common.param.dto.video.AreaDto;
import com.amigo.online.provider.common.model.entity.Area;

@Mapper
@Component
public interface AreaMapper extends MyMapper<Area> {

    List<Area> getAreaListByPid(@Param("pid") Integer pid);

    List<Area> linkageQuery(AreaDto dto);
}
 